package com.jic.manager.mapper;

import com.jic.manager.entity.CustomerServiceManagement;
import com.jic.conf.request.CustomerServiceManagementRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * @author : 
 * @email : 
 * @since : 2020-02-25 04:17:44
 * @version : v1.0.0
 */
@Mapper
public interface  CustomerServiceManagementMapper {

    long insert(CustomerServiceManagement customerServiceManagement);

    long delete(CustomerServiceManagement customerServiceManagement);

    long update(CustomerServiceManagement customerServiceManagement);

    CustomerServiceManagement queryByPrimaryKey(Long id);

    List<CustomerServiceManagement> query(CustomerServiceManagement customerServiceManagement);

    List<CustomerServiceManagement> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("request") CustomerServiceManagementRequest request);

    long queryPageCount(CustomerServiceManagementRequest request);
}